#!/bin/bash

date=$(date '+%Y-%m-%d %H:%M:%S')

curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=a6f917d5-e52d-40e7-bb2d-2b70f1b2c45e' \
-H 'Content-Type: application/json' \
-d'
{
"msgtype": "markdown",
"markdown": {"content":"
# <font color=\"green\">服务器工具通知</font>
操作行为：<font color=\"blue\">'${3}'</font>
服务器ID：<font color=\"blue\">'${1}'</font>
用户：<font color=\"blue\">'${2}'</font>
时间：<font color=\"blue\">'"${date}"'</font>
"}}'
